namespace 项目01;
class Phone
{
    public string owner;
    public string type;
    public string number;

    public string Operator;

    public string 获取信息()
    {
        return $"拥有者：{owner}\n手机型号：{type}\n手机号：{number}\n运营商:{Operator}";
    }

    public Phone(string owner, string type, string number)
    {
        this.owner = owner;
        this.type = type;
        this.number = number;
    }

    public Phone()
    {
        this.owner = "";
        this.type = "";
        this.number = "";
    }
}